Contextual Menu Gestalt Selector Constants
NEW WITH CONTEXTUAL MENUS
Before calling any contextual menu functions, your application should pass the selectorgestaltContextualMenuAttr
to theGestalt
function to determine whether contextual menu functions are available.
enum{ gestaltContextualMenuAttr = 'cmnu' };Constant description
The following values are the bit numbers with which you can test for the presence of contextual menu functions:
gestaltContextualMenuAttr
- The
Gestalt
selector passed to theGestalt
function to determine whether contextual menu functions are available. Produces a value whose bits you should test to determine whether the contextual menu functions are available.
enum{ gestaltContextualMenuPresent = 0, gestaltContextualMenuTrapAvailable = 1 };Constant descriptions
gestaltContextualMenuPresent
- If this bit is set, the contextual menu functions are available to PowerPC applications. If this bit is not set, these functions are not available to PowerPC applications.
gestaltContextualMenuTrapAvailable
- If this bit is set, the contextual menu functions are available to 68K applications. If this bit is not set, these functions are not available to 68K applications.